﻿using System.Data;
using ET;
using DAL;

namespace BLL
{
    public class Customer_BLL
    {
        public static Customer_DAL cls = new Customer_DAL();

        #region Getdata
        public DataTable BindGirdtb_Customer(string keywords)
        {
            return cls.BindGirdtb_Customer(keywords);
        }
        public DataTable GetCustomerDetail(int id)
        {
            return cls.GetCustomerDetail(id);
        }
        public DataTable GetCustomerFillter(int id)
        {
            return Customer_DAL.GetCustomerFillter(id);
        }
        #endregion

        #region Insert
        public static bool Inserttb_Customer(Customer_ET obj)
        {
            return cls.Inserttb_Customer(obj);
        }
        #endregion

        #region Update
        public static bool Updatetb_Customer(Customer_ET obj)
        {
            return cls.Updatetb_Customer(obj);
        }
        #endregion

        #region Delete
        public static bool Deletetb_Customer(int id)
        {
            return cls.Deletetb_Customer(id);
        }
        #endregion
    }
}
